package com.smartStatus.admin.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartStatus.admin.mapper.SysMajorMapper;
import com.smartStatus.admin.service.SysMajorService;
import com.smartStatus.api.entity.SysDepartment;
import com.smartStatus.api.entity.SysMajor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 院校专业表 服务实现类
 * </p>
 *
 * @author lby
 * @since 2021-04-28
 */
@Service
public class SysMajorServiceImpl extends ServiceImpl<SysMajorMapper, SysMajor> implements SysMajorService {

    @Override
    public List<SysMajor> getMajors(SysDepartment sysDepartment) {
        return baseMapper.getMajors(sysDepartment);
    }
}
